package com.zuihai.app.mvp.model.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/6/5 0005.
 */

public class RewardUser {
    @SerializedName("dashang_user")
    @Expose
    public User collectUser;//收款人信息

    @SerializedName("dashang_list")
    @Expose
    public List<User> payUsers=new ArrayList<>();//支出人列表

    public static class User{
        @SerializedName("sex")
        @Expose
        public String sex;
        @SerializedName("tiaomu_id")
        @Expose
        public String id;
        @SerializedName(value = "yonghu_id", alternate = "releaser_id")
        @Expose
        public String userId;
        @SerializedName("name")
        @Expose
        public String name;
        @SerializedName("touxiang")
        @Expose
        public String avatar;
        @SerializedName("price")
        @Expose
        public String price;
        @SerializedName("qianming")
        @Expose
        public String desc;
        @SerializedName("time")
        @Expose
        public Long time;
        @SerializedName("isguanzhu")
        @Expose
        public boolean isCare;
        @SerializedName("fenlei_Tag")
        @Expose
        public String type;

        @Override
        public String toString() {
            return "User{" +
                    "id='" + id + '\'' +
                    ", userId='" + userId + '\'' +
                    ", name='" + name + '\'' +
                    ", avatar='" + avatar + '\'' +
                    ", desc='" + desc + '\'' +
                    ", price='" + price + '\'' +
                    ", time=" + time +
                    ", isCare=" + isCare +
                    ", type='" + type + '\'' +
                    '}';
        }
    }
}
